<template>
    <div>
        <Modal v-model="modal.search" title="高级搜索" width="1020">
            <Form ref="searchForm" :model="searchForm" :label-width="120">
                <Row>
	<i-col span="12">
	<FormItem label="主键" prop="schoolOrderId" label-for="schoolOrderId">
	<Input v-model="searchForm.schoolOrderId" element-id="schoolOrderId" placeholder="请输入主键" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="下单用户ID"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderUserIdMin">
	<InputNumber v-model="searchForm.schoolOrderUserIdMin" placeholder="请输入开始下单用户ID" style="width: 100%;"/>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderUserIdMax">
	<InputNumber v-model="searchForm.schoolOrderUserIdMax" placeholder="请输入结束下单用户ID" style="width: 100%;"/>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="接单人id"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderOrderUserIdMin">
	<InputNumber v-model="searchForm.schoolOrderOrderUserIdMin" placeholder="请输入开始接单人id" style="width: 100%;"/>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderOrderUserIdMax">
	<InputNumber v-model="searchForm.schoolOrderOrderUserIdMax" placeholder="请输入结束接单人id" style="width: 100%;"/>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="学校ID"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderSchoolIdMin">
	<InputNumber v-model="searchForm.schoolOrderSchoolIdMin" placeholder="请输入开始学校ID" style="width: 100%;"/>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderSchoolIdMax">
	<InputNumber v-model="searchForm.schoolOrderSchoolIdMax" placeholder="请输入结束学校ID" style="width: 100%;"/>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="备注" prop="schoolOrderNotes" label-for="schoolOrderNotes">
	<Input v-model="searchForm.schoolOrderNotes" element-id="schoolOrderNotes" placeholder="请输入备注" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="包裹大小" prop="schoolOrderParcel" label-for="schoolOrderParcel">
	<Input v-model="searchForm.schoolOrderParcel" element-id="schoolOrderParcel" placeholder="请输入包裹大小" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="订单金额"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderTotalAmountMin">
	<InputNumber v-model="searchForm.schoolOrderTotalAmountMin" placeholder="请输入开始订单金额" style="width: 100%;"/>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderTotalAmountMax">
	<InputNumber v-model="searchForm.schoolOrderTotalAmountMax" placeholder="请输入结束订单金额" style="width: 100%;"/>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="实付金额"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderPayAmountMin">
	<InputNumber v-model="searchForm.schoolOrderPayAmountMin" placeholder="请输入开始实付金额" style="width: 100%;"/>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderPayAmountMax">
	<InputNumber v-model="searchForm.schoolOrderPayAmountMax" placeholder="请输入结束实付金额" style="width: 100%;"/>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="优惠金额"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderDiscountAmountMin">
	<InputNumber v-model="searchForm.schoolOrderDiscountAmountMin" placeholder="请输入开始优惠金额" style="width: 100%;"/>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderDiscountAmountMax">
	<InputNumber v-model="searchForm.schoolOrderDiscountAmountMax" placeholder="请输入结束优惠金额" style="width: 100%;"/>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="送达时间" prop="schoolOrderDelivery" label-for="schoolOrderDelivery">
	<Input v-model="searchForm.schoolOrderDelivery" element-id="schoolOrderDelivery" placeholder="请输入送达时间" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="优惠券ID" prop="schoolOrderCouponsId" label-for="schoolOrderCouponsId">
	<Input v-model="searchForm.schoolOrderCouponsId" element-id="schoolOrderCouponsId" placeholder="请输入优惠券ID" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="更新时间"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderUpdateTimeMin">
	<DatePicker @on-change="searchForm.schoolOrderUpdateTimeMin=$event" :value="searchForm.schoolOrderUpdateTimeMin" placeholder="请输入开始更新时间" type="datetime" format="yyyy-MM-dd HH:mm:ss" style="width: 100%;" clearable></DatePicker>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderUpdateTimeMax">
	<DatePicker @on-change="searchForm.schoolOrderUpdateTimeMax=$event" :value="searchForm.schoolOrderUpdateTimeMax" placeholder="请输入结束更新时间" type="datetime" format="yyyy-MM-dd HH:mm:ss" style="width: 100%;" clearable></DatePicker>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="创建时间"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderCreateTimeMin">
	<DatePicker @on-change="searchForm.schoolOrderCreateTimeMin=$event" :value="searchForm.schoolOrderCreateTimeMin" placeholder="请输入开始创建时间" type="datetime" format="yyyy-MM-dd HH:mm:ss" style="width: 100%;" clearable></DatePicker>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderCreateTimeMax">
	<DatePicker @on-change="searchForm.schoolOrderCreateTimeMax=$event" :value="searchForm.schoolOrderCreateTimeMax" placeholder="请输入结束创建时间" type="datetime" format="yyyy-MM-dd HH:mm:ss" style="width: 100%;" clearable></DatePicker>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="订单状态"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderStatusMin">
	<InputNumber v-model="searchForm.schoolOrderStatusMin" placeholder="请输入开始订单状态" style="width: 100%;"/>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderStatusMax">
	<InputNumber v-model="searchForm.schoolOrderStatusMax" placeholder="请输入结束订单状态" style="width: 100%;"/>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="支付状态"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderPayStatusMin">
	<InputNumber v-model="searchForm.schoolOrderPayStatusMin" placeholder="请输入开始支付状态" style="width: 100%;"/>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderPayStatusMax">
	<InputNumber v-model="searchForm.schoolOrderPayStatusMax" placeholder="请输入结束支付状态" style="width: 100%;"/>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="激活状态"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderIsActiveMin">
	<InputNumber v-model="searchForm.schoolOrderIsActiveMin" placeholder="请输入开始激活状态" style="width: 100%;"/>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderIsActiveMax">
	<InputNumber v-model="searchForm.schoolOrderIsActiveMax" placeholder="请输入结束激活状态" style="width: 100%;"/>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="下单时间"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderPlaceOrderTimeMin">
	<DatePicker @on-change="searchForm.schoolOrderPlaceOrderTimeMin=$event" :value="searchForm.schoolOrderPlaceOrderTimeMin" placeholder="请输入开始下单时间" type="datetime" format="yyyy-MM-dd HH:mm:ss" style="width: 100%;" clearable></DatePicker>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderPlaceOrderTimeMax">
	<DatePicker @on-change="searchForm.schoolOrderPlaceOrderTimeMax=$event" :value="searchForm.schoolOrderPlaceOrderTimeMax" placeholder="请输入结束下单时间" type="datetime" format="yyyy-MM-dd HH:mm:ss" style="width: 100%;" clearable></DatePicker>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="取件点" prop="schoolOrderPlace" label-for="schoolOrderPlace">
	<Input v-model="searchForm.schoolOrderPlace" element-id="schoolOrderPlace" placeholder="请输入取件点" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="骑手佣金"><Row>
	<i-col span="11">
	<FormItem prop="schoolOrderCommissionMin">
	<InputNumber v-model="searchForm.schoolOrderCommissionMin" placeholder="请输入开始骑手佣金" style="width: 100%;"/>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="schoolOrderCommissionMax">
	<InputNumber v-model="searchForm.schoolOrderCommissionMax" placeholder="请输入结束骑手佣金" style="width: 100%;"/>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="收件人" prop="schoolOrderAddressRealName" label-for="schoolOrderAddressRealName">
	<Input v-model="searchForm.schoolOrderAddressRealName" element-id="schoolOrderAddressRealName" placeholder="请输入收件人" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="手机号" prop="schoolOrderAddressPhone" label-for="schoolOrderAddressPhone">
	<Input v-model="searchForm.schoolOrderAddressPhone" element-id="schoolOrderAddressPhone" placeholder="请输入手机号" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="详细地址" prop="schoolOrderAddressAddress" label-for="schoolOrderAddressAddress">
	<Input v-model="searchForm.schoolOrderAddressAddress" element-id="schoolOrderAddressAddress" placeholder="请输入详细地址" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="区域、宿舍号" prop="schoolOrderAddressArea" label-for="schoolOrderAddressArea">
	<Input v-model="searchForm.schoolOrderAddressArea" element-id="schoolOrderAddressArea" placeholder="请输入区域、宿舍号" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="楼栋" prop="schoolOrderAddressStoriedBuilding" label-for="schoolOrderAddressStoriedBuilding">
	<Input v-model="searchForm.schoolOrderAddressStoriedBuilding" element-id="schoolOrderAddressStoriedBuilding" placeholder="请输入楼栋" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="学校" prop="schoolOrderAddressSchool" label-for="schoolOrderAddressSchool">
	<Input v-model="searchForm.schoolOrderAddressSchool" element-id="schoolOrderAddressSchool" placeholder="请输入学校" clearable/>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="用户编号"><Row>
	<i-col span="11">
	<FormItem prop="userIdMin">
	<InputNumber v-model="searchForm.userIdMin" placeholder="请输入开始用户编号" style="width: 100%;"/>
</FormItem>
</i-col>
	<i-col span="2" style="text-align: center">-</i-col>
	<i-col span="11">
	<FormItem prop="userIdMax">
	<InputNumber v-model="searchForm.userIdMax" placeholder="请输入结束用户编号" style="width: 100%;"/>
</FormItem>
</i-col>
</Row>
</FormItem>
</i-col><i-col span="12">
	<FormItem label="手机号" prop="userPhone" label-for="userPhone">
	<Input v-model="searchForm.userPhone" element-id="userPhone" placeholder="请输入手机号" clearable/>
</FormItem>
</i-col>
</Row>

            </Form>
            <div slot="footer">
                <Button type="text" size="large" @click="resetForm">清空</Button>
                <Button type="text" size="large" @click="cancelModal">取消</Button>
                <Button type="primary" size="large" @click="searchOkModal" :loading="loading.search">查询</Button>
            </div>
        </Modal>
    </div>
</template>

<script>
    import * as utils from '@/api/utils-v2'
    import * as ResponseStatus from '@/api/response-status'
    export default {
        name: 'SchoolOrderAddressUserSearch',
        data() {
            return {
                modal: {
                    search: false
                },
                loading: {
                    search: false
                },
                urls: {
                    searchUrl: '/school-order-address-user/admin/pager-cond'
                },
                searchForm: {
                    pageNo: 1,
                    pageSize: 10,
                    sortColumn: null,
                    sortOrder: null,
                    schoolOrderId: null,
schoolOrderUserId: null,
schoolOrderUserIdMin: null, 
schoolOrderUserIdMax: null, 
schoolOrderOrderUserId: null,
schoolOrderOrderUserIdMin: null, 
schoolOrderOrderUserIdMax: null, 
schoolOrderSchoolId: null,
schoolOrderSchoolIdMin: null, 
schoolOrderSchoolIdMax: null, 
schoolOrderNotes: null,
schoolOrderParcel: null,
schoolOrderTotalAmount: null,
schoolOrderTotalAmountMin: null, 
schoolOrderTotalAmountMax: null, 
schoolOrderPayAmount: null,
schoolOrderPayAmountMin: null, 
schoolOrderPayAmountMax: null, 
schoolOrderDiscountAmount: null,
schoolOrderDiscountAmountMin: null, 
schoolOrderDiscountAmountMax: null, 
schoolOrderDelivery: null,
schoolOrderCouponsId: null,
schoolOrderUpdateTime: null,
schoolOrderUpdateTimeMin: null, 
schoolOrderUpdateTimeMax: null, 
schoolOrderCreateTime: null,
schoolOrderCreateTimeMin: null, 
schoolOrderCreateTimeMax: null, 
schoolOrderStatus: null,
schoolOrderStatusMin: null, 
schoolOrderStatusMax: null, 
schoolOrderPayStatus: null,
schoolOrderPayStatusMin: null, 
schoolOrderPayStatusMax: null, 
schoolOrderIsActive: null,
schoolOrderIsActiveMin: null, 
schoolOrderIsActiveMax: null, 
schoolOrderPlaceOrderTime: null,
schoolOrderPlaceOrderTimeMin: null, 
schoolOrderPlaceOrderTimeMax: null, 
schoolOrderPlace: null,
schoolOrderCommission: null,
schoolOrderCommissionMin: null, 
schoolOrderCommissionMax: null, 
schoolOrderAddressRealName: null,
schoolOrderAddressPhone: null,
schoolOrderAddressAddress: null,
schoolOrderAddressArea: null,
schoolOrderAddressStoriedBuilding: null,
schoolOrderAddressSchool: null,
userId: null,
userIdMin: null, 
userIdMax: null, 
userPhone: null,

                },
                dataDictCodes: ['IS_ACTIVE'],
                dataDictItems: {},
            }
        },
        computed: {},
        mounted() {},
        methods: {
            resetForm() {
                this.$refs.searchForm.resetFields()
            },
            cancelModal(modal) {
                this.modal.search = false
            },
            searchOkModal(modal) {
                this.modal.search = false
                this.$emit('searchTable', true)
            }
        }
    }
</script>

<style>
</style>